<?php
/* @var $this CategroryController */
/* @var $model Categrory */

$this->breadcrumbs = array(
    'Categrories' => array('index'),
    'Create',
);

$this->menu = array(
    array('label' => 'List Categrory', 'url' => array('index')),
    array('label' => 'Manage Categrory', 'url' => array('admin')),
);
?>
<div class="speedbar">
    <div class="speedbar-content">

        <ul class="menu-drop">
            <li><a href="#"><i class="icon-chevron-down"></i></a>
                <ul>
                    <li><a href="<?php echo Yii::app()->createUrl('admin/main/index'); ?>">Quản lý chung</a></li>
                </ul>  
            </li>
        </ul>

        <ul class="menu-speedbar">
            <li><a href="<?php echo Yii::app()->createUrl('admin/categrory/admin'); ?>" class="act_link">Quản lý danh mục</a></li>
            <li><a href="<?php echo Yii::app()->createUrl('admin/categrory/create'); ?>">Tạo danh mục mới</a></li>
        </ul>
    </div>
</div>


<?php echo $this->renderPartial('_form', array('model' => $model)); ?>